package cn.itcast.nems.order.dao.dataobject;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * <p>
 * 已完成首次支付的订单
 * </p>
 *
 * @author zhouwei
 * @since 2023/9/13 6:15 PM
 **/
@Data
@NoArgsConstructor
public class EnrolPaidOrderDO {
    private String id;
    private String cid ;
    private String orderLineId;
    private String orderNo;
    private String paymentTypeName;
    private String className;
    private BigDecimal discountAmount;
    private BigDecimal originalAmount;
    private BigDecimal firstPayment;
    private BigDecimal paidAmount;
    private String paymentDatetime;
    private Boolean isJoinClass;
    /**
     * 业务关联编号
     */
    private String bizNo;
    /**
     * 订单状态
     */
    private String orderState;

    public EnrolPaidOrderDO(String cid) {
        this.cid = cid;
    }
}
